/* 基础样式 */
body {
    line-height: 1.6;
}

/* 题目卡片样式 */
.question-card {
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.question-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1D2129;
    display: flex;
    align-items: center;
}

.question-score {
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    color: #3B82F6;
    font-weight: 500;
}

.question-content {
    margin-bottom: 16px;
    color: #4E5969;
    line-height: 1.6;
}

/* 选择题选项样式 */
.question-options {
    list-style-type: none;
    padding: 0;
    margin: 16px 0;
}

.question-option {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.question-option:hover {
    background-color: #F7F8FA;
}

.question-option input[type="radio"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.question-option label {
    cursor: pointer;
    flex: 1;
}

/* 填空题样式 */
.fill-blank {
    margin: 16px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fill-blank-input {
    padding: 8px 12px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    min-width: 200px;
    transition: border-color 0.2s;
}

.fill-blank-input:focus {
    border-color: #3B82F6;
    outline: none;
}

.fill-blank-score {
    font-size: 12px;
    color: #86909C;
    margin-left: 4px;
}

/* 解答题样式 */
.essay-answer {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    resize: vertical;
    min-height: 120px;
    margin-top: 8px;
    line-height: 1.6;
    transition: border-color 0.2s;
}

.essay-answer:focus {
    border-color: #3B82F6;
    outline: none;
}

/* 提交按钮样式 */
.submit-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: #3B82F6;
    color: white;
    border: none;
}

.submit-btn:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.submit-btn i {
    margin-right: 8px;
}

/* 错误提示 */
.error-message {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.error-message h3 {
    font-weight: 600;
    margin-bottom: 8px;
}

/* 防复制粘贴样式 */
.no-copy {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 响应式调整 */
@media (max-width: 640px) {
    .question-card {
        padding: 16px;
    }
    
    .fill-blank-input {
        min-width: 100%;
    }
}